﻿@model object
@*<fieldset>
    <legend>Alert</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Markup)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Markup)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) |
    @Html.ActionLink("Back to List", "Index")
</p>
*@
@if (Model != null)
{ 
    Alert alert = Model as Alert;
    if (alert != null)
    { 
<p />
<div class="alert alert-block @alert.GetAlertCss()">
  <button type="button" class="close" data-dismiss="alert">&times;</button>
  <h4>@alert.GetAlertHeader()</h4>
  @Html.Raw(alert.Markup)
</div>
    }
}